<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!-- 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>管理员admin列表--PagerNoHqlUrl方式分页</title>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>res/common/css/cssPage/Pager.css" />
		<script type="text/javascript" src="<%=basePath%>res/common/js/jsPage/jquery-1.4.2.js"></script>
		<script type="text/javascript" src="<%=basePath%>res/common/js/jsPage/jquery.pager.js"></script>
		<script type="text/javascript" src="<%=basePath%>res/common/js/jsPage/jquery.pagerUrl.js"></script>

	</head>

	<body>
	
		<input type="hidden" id="currentPage" value="${pager.currentPage}"/>
		<input type="hidden" id="totalPage" value="${pager.totalPage}"/>
		<input type="hidden" id="url" value="<%=basePath%>admin/adminListUrl.jspx" />
		<input type="hidden" id="hasParam" value="false" />
		
		 <c:forEach var="v" items="${pager.list}">
			${v.adminId}||${v.adminName}||${v.adminAge}
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="<%=basePath%>admin/adminGet.jspx?adminId=${v.adminId}">查看</a>||
			<a href="<%=basePath%>admin/adminDelete.jspx?adminId=${v.adminId}">删除</a>
			<br/>
		 </c:forEach>
		

		<div id="pager"></div>
		<div id="result"></div>
		
		<br>
		<div><a href="admin/adminAdd.jsp">添加admin</a></div>
	
	</body>
</html>
 -->